//
//  WKDelegate.h
//  HTML_CSS_JS
//
//  Created by 范金龙 on 2020/4/28.
//  Copyright © 2020 FF. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <WebKit/WebKit.h>

NS_ASSUME_NONNULL_BEGIN

@protocol WKDelegate <NSObject>

- (void)userContentController:(WKUserContentController *)userContentController didReceiveScriptMessage:(WKScriptMessage *)message;

@end
@interface WKDelegate : NSObject<WKScriptMessageHandler>
@property (nonatomic, weak)id<WKDelegate> wkdelegate;
@end

NS_ASSUME_NONNULL_END
